package com.graduation.check.dto;

import lombok.Data;

@Data
public class RegisterRequest {
    private String account;      // 对应前端的 account（学号/工号）
    private String password;
    private String email;
    private String userType;     // 对应前端的 userType（student/teacher）
    private String name;         // 对应前端的 name（真实姓名）
    private String major;        // 专业
    private String className;    // 班级
    private String department;   // 部门

    public RegisterRequest(String account, String department, String major, String className, String name, String userType, String email, String password) {
        this.account = account;
        this.department = department;
        this.major = major;
        this.className = className;
        this.name = name;
        this.userType = userType;
        this.email = email;
        this.password = password;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
}